package cn.itsy.service.position;

import cn.itsy.dao.position.PositionDao;
import cn.itsy.pojo.Position;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service(value = "positionServiceimpl")
public class PositionServiceimpl implements PositionService {
    @Resource(name = "positionDaoimpl")
    private PositionDao positionDao;

    @Override
    public List<Position> queryPositionAll(String sql) {
        List<Position> positions = this.positionDao.queryPositionAll(sql);
        return positions;
    }
}
